// 根路由
import React from 'react'
import {BrowserRouter} from 'react-router-dom'
import routes from './router.config'
import RouterView from './RouterView'

export default function Root() {
    return (
        <BrowserRouter>
            <RouterView routes={routes}></RouterView>
        </BrowserRouter>
    )
}
